package com.itheima.ssm.service.impl;

import com.itheima.ssm.dao.IMemberDao;
import com.itheima.ssm.domain.Member;
import com.itheima.ssm.service.IMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IMemberServiceImpl implements IMemberService {

    @Autowired
    private IMemberDao iMemberDao;

    @Override
    public Member findById(int memberId) {
        return iMemberDao.findById(memberId);
    }
}
